package com.jugheadzhou.auth.core.common.exception;

/**
 * 鉴权异常
 *
 * @author jugheadzhou
 */
public class AuthenticateException extends RuntimeException {

    /**
     * 对异常信息进行补充说明
     */
    private final String message;


    public AuthenticateException(String message) {
        super(message);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
